﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MenuUserControl
{
    public partial class Test : System.Web.UI.Page
    {
        public List<KeyValuePair<string, string>> Links = new List<KeyValuePair<string, string>> 
            { new KeyValuePair<string, string>("Link1.aspx", "Page1"),
            new KeyValuePair<string,string>("Link2.aspx","Page2"),
            new KeyValuePair<string,string>("Link3.aspx","Page3"),
            new KeyValuePair<string,string>("Link4.aspx","Page4")};

        protected void Page_Load(object sender, EventArgs e)
        {
            linksMenu.FontColor = "Red";
            linksMenu.Font = "Lucida Handwriting";

            linksMenu.DataBind();
        }

    }
}